package com.karrim.client.mvp.view;

import com.google.gwt.dom.client.Document;
import com.google.gwt.user.client.ui.HTMLPanel;
import com.google.gwt.user.client.ui.Widget;
import com.google.inject.Inject;
import com.gwtplatform.mvp.client.Presenter;
import com.gwtplatform.mvp.client.ViewImpl;
import com.karrim.client.mvp.presenter.FilePresenter;
import com.karrim.client.widget.file.FileWidget;

/**
 *
 * @author andrea.cantafio
 */
public class FileView extends ViewImpl implements FilePresenter.NView{

    @Inject
    public FileView() {
        pnl = new HTMLPanel("");
        pnl.add(new FileWidget().asWidget());
    }

    public Widget asWidget() {
        return pnl;
    }

    private HTMLPanel pnl;
}
